set -e

./configure --prefix=`pwd`/build_out/x264 \
    --enable-pic \
    --enable-shared \
    --enable-static \
    --enable-strip \
    --disable-cli \
    --disable-asm \
    --extra-cflags="-O2" \

make clean
make -j8
make install
